package team.dmh.wx.mapper;

import org.apache.ibatis.annotations.Param;
import team.dmh.wx.entity.Friend;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import team.dmh.wx.vo.FriendVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hzk
 * @since 2018-10-15
 */
public interface FriendMapper extends BaseMapper<Friend> {

    List<FriendVO> getFriendVOList(String userId);

    FriendVO getFriend(@Param("userId") String userId,@Param("friendId") String friendId);

}
